import { useFunction } from "../utils";

const [link, linkWithText] = useFunction("/basic/");

export default [
  {
    text: "基础",
    items: [
      linkWithText("index"),
      linkWithText("install"),
      linkWithText("variable"),
      linkWithText("number"),
      linkWithText("string"),
      linkWithText("array"),
      linkWithText("operator"),
      linkWithText("loop"),
      linkWithText("function"),
      linkWithText("class"),
      linkWithText("filesystem"),
      linkWithText("database-operation"),
      linkWithText("data-docking"),
    ],
  },
  {
    text: "进阶",
    items: [],
  },
];
